import java.rmi.*;
//客户端的远程服务接口同样要继承Remote


public interface Client extends Remote
{
    //定义一个允许远程调用的方法
    void showDialog(String msg)
            throws java.rmi.RemoteException;

    void showMessage(String content) throws java.rmi.RemoteException;

    void exit()throws java.rmi.RemoteException;
}
